const {app, BrowserWindow, ipcMain} = require('electron');
 
let win; // this wills store the window object

function createDefaultWindow() {
    win = new BrowserWindow({  width: 900, height: 680, icon:require('path').join(__dirname, 'favicon.ico') });
    win.loadURL(`file://${__dirname}/web12/index.html`);
    win.on('closed', () => app.quit());
  return win;
}

 
app.on('ready', function() {
  createDefaultWindow(); 
});
 